#include <gtest/gtest.h>

#ifndef private
#define private public
#include "acl/acl.h"
#include "acl/acl_mdl.h"
#include "log_inner.h"

#undef private
#endif

class UTEST_ACL_C_enum_check : public testing::Test
{
    public:
        UTEST_ACL_C_enum_check() {}
    protected:
        virtual void SetUp() {}
        virtual void TearDown() {}
};

TEST_F(UTEST_ACL_C_enum_check, aclmdlExecConfigAttr)
{
    aclmdlExecConfigAttr configExecAttr;
    configExecAttr = (aclmdlExecConfigAttr)2;
    EXPECT_EQ(configExecAttr, ACL_MDL_WORK_ADDR_PTR);

    configExecAttr = (aclmdlExecConfigAttr)3;
    EXPECT_EQ(configExecAttr, ACL_MDL_WORK_SIZET);

    configExecAttr = (aclmdlExecConfigAttr)4;
    EXPECT_EQ(configExecAttr, ACL_MDL_MPAIMID_SIZET);

    configExecAttr = (aclmdlExecConfigAttr)5;
    EXPECT_EQ(configExecAttr, ACL_MDL_AICQOS_SIZET);

    configExecAttr = (aclmdlExecConfigAttr)6;
    EXPECT_EQ(configExecAttr, ACL_MDL_AICOST_SIZET);

    configExecAttr = (aclmdlExecConfigAttr)7;
    EXPECT_EQ(configExecAttr, ACL_MDL_MEC_TIMETHR_SIZET);
}
